public class Main {
    public static void main(String args[])
    {
        ThreadJoin a=new ThreadJoin();
        Thread driver=new Thread(a);
        Thread worker=new Thread(a);
        Thread administrator=new Thread(a);
        driver.setName("货车司机");
        worker.setName("装运工");
        administrator.setName("仓库管理员");
        a.setThread(driver,worker,administrator); driver.start();
    }
}